package com.jinsi.service.tang.iml;

import com.jinsi.mapper.tang.AuditLogMapper;
import com.jinsi.pojo.Examine;
import com.jinsi.service.tang.AuditLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 商品审核日志列表
 * @author 唐文博
 * @Date 2022-08-20
 */
@Service
@Transactional
public class AuditLogServiceImpl implements AuditLogService {
    @Autowired
    private AuditLogMapper auditLogMapper;

    /**
     * 查看表，全查 模糊查
     * @param commodityName
     * @param examinePersonnel
     * @param examineDate
     * @return
     */
    @Override
    @Transactional(readOnly = true)
    public List<Examine> getAuditLog(String commodityName, String examinePersonnel, String examineDate) {
        return auditLogMapper.getAuditLog(commodityName,examinePersonnel,examineDate);
    }
}
